﻿using System;
using UnityEngine;

namespace ParticlePlayground
{
	// Token: 0x02000148 RID: 328
	[Serializable]
	public class SerializedParticle
	{
		// Token: 0x060006F2 RID: 1778 RVA: 0x0002934C File Offset: 0x0002754C
		public SerializedParticle(Vector3 position, Vector3 velocity, float rotation, float size, float lifetime, float startLifetime, float playgroundLife, float playgroundStartLifetime, float playgroundEndLifetime, float playgroundLifetimeSubtraction, Color32 color, Vector3 sourcePosition, float startingSize)
		{
			this.position = position;
			this.velocity = velocity;
			this.rotation = rotation;
			this.size = size;
			this.lifetime = lifetime;
			this.startLifetime = startLifetime;
			this.playgroundLife = playgroundLife;
			this.playgroundStartLifetime = playgroundStartLifetime;
			this.playgroundEndLifetime = playgroundEndLifetime;
			this.playgroundLifetimeSubtraction = playgroundLifetimeSubtraction;
			this.color = color;
			this.sourcePosition = sourcePosition;
			this.startingSize = startingSize;
		}

		// Token: 0x060006F3 RID: 1779 RVA: 0x000293C4 File Offset: 0x000275C4
		public virtual PlaybackParticle CloneAsPlaybackParticle()
		{
			PlaybackParticle result = new PlaybackParticle(this.position, this.velocity, this.rotation, this.size, this.lifetime, this.startLifetime, this.playgroundLife, this.playgroundStartLifetime, this.playgroundEndLifetime, this.playgroundLifetimeSubtraction, this.color, this.sourcePosition, this.startingSize);
			return result;
		}

		// Token: 0x04000703 RID: 1795
		public Vector3 position;

		// Token: 0x04000704 RID: 1796
		public Vector3 velocity;

		// Token: 0x04000705 RID: 1797
		public float rotation;

		// Token: 0x04000706 RID: 1798
		public float size;

		// Token: 0x04000707 RID: 1799
		public float lifetime;

		// Token: 0x04000708 RID: 1800
		public float startLifetime;

		// Token: 0x04000709 RID: 1801
		public float playgroundLife;

		// Token: 0x0400070A RID: 1802
		public float playgroundStartLifetime;

		// Token: 0x0400070B RID: 1803
		public float playgroundEndLifetime;

		// Token: 0x0400070C RID: 1804
		public float playgroundLifetimeSubtraction;

		// Token: 0x0400070D RID: 1805
		public Color32 color;

		// Token: 0x0400070E RID: 1806
		public Vector3 sourcePosition;

		// Token: 0x0400070F RID: 1807
		public float startingSize;
	}
}
